package com.csxy.six.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("claim_log")
public class ClaimLog {
    @TableId(type = IdType.AUTO)
    private Integer claimId;

    private Integer lostId;
    private Integer foundId;

    @TableField("claim_user_id")
    private Long claimUserId; // 确保这个字段不为null

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime claimTime;

    private String status;
    private Long verifyUserId;
    private LocalDateTime verifyTime;
    private String verifyRemark;
    private String contactInfo;
}